Skip to content

modules/dbe - lz4 encoder and decoder#1079

Closed
rdob-ant wants to merge 9 commits into
google:mainfrom
antmicro:47181-lz4
Closed

modules/dbe - lz4 encoder and decoder#1079
rdob-ant wants to merge 9 commits into
google:mainfrom
antmicro:47181-lz4

Conversation

@rdob-ant

Copy link
Copy Markdown
Contributor

This is an implementation of Lz4 encoder and decoder in DSLX and accompanying cocotb testsuites. It supersedes #1075 .

The source branch additionally includes:

  1. Changes from Add cocotb framework #1057 for cocotb support
  2. Bugfix from bugfix: examples/ram: 1R1W - fix missing mask expansion #1078
  3. Temporary retarget for bazel_hdl_rules subrepo (minor bugfix for cocotb, PR for it will be open soon)

Above things will be dropped from this PR once we get the respective PRs merged.

rw1nkler and others added 6 commits July 25, 2023 17:51
Temporary get improved version of the cocotb_test() rule from
a forked repository.

Internal-tag: [#44586]
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Internal-tag: [#46586]
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
The library contains the XLSChannelDriver and XLSChannelMonitor classes,
which can be used to send or receive data from an XLS channel in
a Cocotb simulation, respectively.

Internal-tag: [#46586]
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
This commit adds an example that uses the Cocotb framework to validate
behavior of the Verilog file converted from a simple DSLX code

Internal-tag: [#46586]
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Creates cocotb_xls_test macro that generates a file with the
timestamp specified in the rule definition. The macro is required to
generate the timestamp for Icarus Verilog smulation in Cocotb.

Internal-tag: [#46586]
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
rdob-ant added 3 commits July 27, 2023 14:11
Initialization check did not work properly with masked reads when more
partitions have been initialized than the read actually requested.
Added test for masked reads and writes when NUM_PART != DATA_WIDTH.

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
Temporary solution.
Without this, multiple cocotb test targets in the same dir do not work.

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
Example implementation of Lz4 - a dictionary-based data
compression algorithm.

Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
@rdob-ant

rdob-ant commented Aug 3, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #1092

@rdob-ant rdob-ant closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants